package me.zk.annotation;

import java.lang.annotation.*;

/**
 * @author zhangkai
 * @date 2023/7/3 17:58
 */
@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface RedisLimit {

    String name() default "";

    String key() default "";

    String prefix() default "";

    int period();

    int count();

    String limitType() default "";

    String msg() default "系统繁忙，请稍后再试";

}
